Skip to content

__setitem__ type promotion rules for array values #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 23, 2025

Conversation

crusaderky
Copy link
Contributor

Closes #916

Copy link
Contributor

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @crusaderky!

@kgryte kgryte added this to the v2025 milestone Jun 23, 2025
@kgryte kgryte added Maintenance Bug fix, typo fix, or general maintenance. API change Changes to existing functions or objects in the API. topic: Type Promotion Type promotion. labels Jun 23, 2025
@kgryte kgryte merged commit 9a3fc5b into data-apis:main Jun 23, 2025
3 checks passed
@crusaderky crusaderky deleted the setitem_dtype branch June 23, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Changes to existing functions or objects in the API. Maintenance Bug fix, typo fix, or general maintenance. topic: Type Promotion Type promotion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFC: define behavior for __setitem__ when the assigned value promotes to the array's dtype
2 participants